﻿using System;
using System.Collections.Generic;
using System.Data;
namespace ZX.HIS.IDAL
{
	/// <summary>
	/// 接口层SeeDoctorMedicalItem
	/// </summary>
	public interface ISeeDoctorMedicalItem
    {
        #region SeeDoctorMedicalItem自写方法
        /// <summary>
        /// 事务处理检查医疗项和就诊表派生表添加
        /// </summary>
        /// <param name="SDMIList">检查医疗项集合</param>
        /// <param name="SeeDoctorId">就诊ID</param>
        /// <param name="HospitalId">诊所ID</param>
        /// <returns></returns>
        bool SeeDoctorMedicalItemAdd(List<ZX.HIS.Model.SeeDoctorMedicalItem> SDMIList, int SeeDoctorId, int HospitalId);
        /// <summary>
        /// 修改检查医疗项和就诊表派生表
        /// </summary>
        /// <param name="SDMIList">数据</param>
        /// <returns></returns>
        bool SeeDoctorMedicalItemUpt(List<ZX.HIS.Model.SeeDoctorMedicalItem> SDMIList);
        /// <summary>
        ///查询检查医疗项和就诊表派生表
        /// </summary>
        /// <param name="DAModel"></param>
        /// <returns></returns>
        List<ZX.HIS.Model.SeeDoctorMedicalItem> SeeDoctorMedicalItemList(int SeeDoctorId);
        /// <summary>
        /// 得到一个对象实体
        /// </summary>
        ZX.HIS.Model.SeeDoctorMedicalItem DataRowToModel(DataRow row);
        #endregion

        #region  成员方法
        ///// <summary>
        ///// 得到最大ID
        ///// </summary>
        //int GetMaxId();
        ///// <summary>
        ///// 是否存在该记录
        ///// </summary>
        //bool Exists(int SeeDocMedicId);
        ///// <summary>
        ///// 增加一条数据
        ///// </summary>
        //int Add(ZX.HIS.Model.SeeDoctorMedicalItem model);
        ///// <summary>
        ///// 更新一条数据
        ///// </summary>
        //bool Update(ZX.HIS.Model.SeeDoctorMedicalItem model);
        ///// <summary>
        ///// 删除一条数据
        ///// </summary>
        //bool Delete(int SeeDocMedicId);
        //bool DeleteList(string SeeDocMedicIdlist );
        ///// <summary>
        ///// 得到一个对象实体
        ///// </summary>
        //ZX.HIS.Model.SeeDoctorMedicalItem GetModel(int SeeDocMedicId);
        //ZX.HIS.Model.SeeDoctorMedicalItem DataRowToModel(DataRow row);
        ///// <summary>
        ///// 获得数据列表
        ///// </summary>
        //DataSet GetList(string strWhere);
        ///// <summary>
        ///// 获得前几行数据
        ///// </summary>
        //DataSet GetList(int Top,string strWhere,string filedOrder);
        //int GetRecordCount(string strWhere);
        //DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex);
        ///// <summary>
        ///// 根据分页获得数据列表
        ///// </summary>
        ////DataSet GetList(int PageSize,int PageIndex,string strWhere);
		#endregion  成员方法
		#region  MethodEx

		#endregion  MethodEx
	} 
}
